package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName("tb_interview_record")
public class InterviewRecordModel {
    @TableId(type = IdType.AUTO)
    public int id;

    private int rid;

    private int cid;

    private String interviewTime;

    private int plan;

    private int pid;

    private Timestamp crtTime;

    private Timestamp upTime;
    @TableField(exist = false)
    private ComRecruitersModel comRecruiters;
    @TableField(exist = false)
    private JobPublishModel jobPublish;
    @TableField(exist = false)
    private String jobTitle;
    @TableField(exist = false)
    private Integer minSalary;
    @TableField(exist = false)
    private Integer maxSalary;
    @TableField(exist = false)
    private int timeTest;//验证当前时间是否大于面试时间

}
